package com.ydj.app.protocol.http.cms;

import com.ydj.framework.protocol.JsonBaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
public class CmsCsQrCodeCreateReq extends JsonBaseRequest {
    @ApiModelProperty(value = "名字", required = true)
    @NotBlank(message = "名字不能为空")
    private String name;

    @ApiModelProperty(value = "图片地址", required = true)
    @NotBlank(message = "图片不能为空")
    private String image;

}